package com.example.survey_determination.service.impl;

import com.example.survey_determination.dao.ReportedInfoDao;
import com.example.survey_determination.service.ReportedInfoService;
import entity.reported_info;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * (ReportedInfo)表服务实现类
 *
 * @author makejava
 * @since 2022-01-06 10:07:25
 */
@Service("reportedInfoService")
public class ReportedInfoServiceImpl implements ReportedInfoService {
    @Resource
    private ReportedInfoDao reportedInfoDao;

    /**
     * 通过ID查询单条数据
     *
     * @return 实例对象
     */
    @Override
    public reported_info queryById(String reported_number) {
        return this.reportedInfoDao.queryById(reported_number);
    }

    @Override
    public int updateReported_info_case_state(String case_state,String reported_number) {
        return this.reportedInfoDao.updateReported_info_case_state(case_state,reported_number);
    }


}
